// © 2009 Microsoft Corporation.  All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Validation.Validators;
using Microsoft.Practices.EnterpriseLibrary.Validation;

namespace Microsoft.InformationSecurity.ISRM.TaskManagment.Classes
{
    /// <summary>
    /// Represents a category of a task. Categories are used to group tasks under different areas of risk.
    /// </summary>
    public class Category
    {
        /// <summary>
        /// NotificationCotent of the category
        /// </summary>
        public string Name
        {
            get;
            set;
        }

        /// <summary>
        /// ID of the category
        /// </summary>
        public int ID
        {
            get;set;
        }

        /// <summary>
        /// User who last updated the category
        /// </summary>
        public string LastUpdatedBy
        {
            get;set;
        }

        /// <summary>
        /// Date and time when the category was last updated
        /// </summary>
        public DateTime LastUpdatedDate
        {
            get;
            set;
        }

        /// <summary>
        /// Status of the category whether Active or Deleted.
        /// </summary>
        public bool Active
        {
            get;
            set;
        }

        /// <summary>
        /// Number of tasks associated with this category.
        /// </summary>
        public int TaskCount
        {
            get;
            set;
        }

        /// <summary>
        /// PersonID of the person doing the action.
        /// </summary>
        public int PersonID
        {
            get;
            set;
        }
    }
}
